package com.zqj.test;

import com.zqj.mapper.UserMapper;
import com.zqj.pojo.User;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class SpringBootMybatisPlus {

    @Autowired
    private UserMapper userMapper;

    @Test
    public void test(){
        List<User> userMappers = userMapper.selectList(null);
        System.out.println(userMappers);
    }
}
